# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='BlogBody',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('blog_title', models.CharField(max_length=50, verbose_name='标题')),
                ('blog_body', models.TextField(verbose_name='文章')),
                ('blog_type', models.CharField(choices=[('Python', 'Python'), ('abouttest', '测试相关'), ('mytalk', '个人扯淡'), ('diary', '偶尔想起来的日记')], max_length=10, verbose_name='类型')),
                ('blog_timestamp', models.DateTimeField(verbose_name='创建时间')),
                ('blog_imgurl', models.CharField(max_length=50, verbose_name='图片地址', blank=True, null=True)),
                ('blog_author', models.CharField(max_length=20, verbose_name='作者', null=True)),
                ('blog_like', models.BooleanField(default=False, verbose_name='是否推荐')),
                ('blog_clicknum', models.IntegerField(default=0, verbose_name='点击数')),
                ('blog_abstract', models.CharField(max_length=20, verbose_name='首页简介')),
            ],
        ),
        migrations.CreateModel(
            name='UserInfo',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('nickname', models.CharField(max_length=20)),
                ('work', models.CharField(max_length=20)),
                ('company', models.CharField(max_length=50)),
                ('email', models.CharField(max_length=20)),
            ],
        ),
    ]
